﻿using MediatR;
using SlaughterItem.Common.Dtos;
using System.ComponentModel.DataAnnotations;

namespace SlaughterItem.API.Application.Commands.Week01.ManageCommands.Busines
{
    public class BusinesCreateCommand:IRequest<Result>
    {
        /// <summary>
        /// 企业编号
        /// </summary>
        public int BusinessId { get; set; }
        /// <summary>
        /// 企业名称
        /// </summary>
        public string BusinessName { get; set; }
        /// <summary>
        /// 企业简称
        /// </summary>
        public string BusinessAbbreviation { get; set; }
        /// <summary>
        /// 企业LOGO
        /// </summary>
        public string BusinessImage { get; set; }
        /// <summary>
        /// 行业标签(外键)
        /// </summary>
        public int IndustrytagId { get; set; }
        /// <summary>
        /// 省(外键)
        /// </summary>
        public int ProvibceId { get; set; }
        /// <summary>
        /// 市区(外键)
        /// </summary>
        public int CityId { get; set; }
        /// <summary>
        /// 区(外键)
        /// </summary>
        public int AreaId { get; set; }
        /// <summary>
        /// 详情地址
        /// </summary>
        public string DetailedAddress { get; set; }
        /// <summary>
        /// 企业电话
        /// </summary>
        public string BusinessPhone { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string BusinessDuty { get; set; }
    }
}
